/*
 ============================================================================
 Name        : HeraMessageBox.h
 Author      :
 Version     :
 Copyright   : Your copyright notice
 Description : CHeraMessageBox declaration
 ============================================================================
 */

#ifndef fHelpBox_H
#define fHelpBox_H

// INCLUDES
#include <e32std.h>
#include "fDialog.h"
#include "fImage.h"

class fTextView;

class fHelpBox : public fDialog
{
public:
    static fHelpBox* NewL( fEngine* aFramework, int dlgHeight );
    static fHelpBox* NewLC( fEngine* aFramework, int dlgHeight );
    ~fHelpBox( );
private:
    fHelpBox( );
    void ConstructL( fEngine* aFramework, int dlgHeight );
protected:
    virtual void DrawClient( TRect aRect );
public:
    void Show( const TDesC& aTitle, const TDesC& aMessage );
    void Show( );
private:
    HBufC* iMessage;
    CFont* iTextFont;
    fTextView* iTextView;
    TPoint iTextPosition;
public:
    void Update( );
protected:
    virtual void PrepareDiglogDisappear( );
    virtual int ContentHandleKey( f_KEY_DES* aKeyDes );
    virtual int ContentHandleMouse( fMouseEvent nType, TPoint sPoint );
    virtual void ContentLostFocus( )
    {
        
    }
};

#endif // fHelpBox_H
